<?php
/**
 * User: lie
 * Date: 2020/11/6 9:49
 * description:
 */
include('conn.php');    // 引入连接文件
$sql = "SELECT * FROM customer";    // 查询语句
$result = $mysqli->query($sql);     // 查询返回的结果集赋值 $result
while ($obj = $result->fetch_object()){     //
    echo '编号：'.$obj->cCuscode."   客户名称：".$obj->cCName;
    echo "<br>";
}
